package com.sun.eureka.entry;
/**
 * 订单
 * @author sunqi
 *
 */

import java.math.BigDecimal;
import java.util.Date;

public class Order {
	
	private Long id;
	
	private String orderSN;
	
	private Date createTime;
	
	private Long creater;
	
	private BigDecimal amount;
	
	private Long customerId;
	

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOrderSN() {
		return orderSN;
	}

	public void setOrderSN(String orderSN) {
		this.orderSN = orderSN;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getCreater() {
		return creater;
	}

	public void setCreater(Long creater) {
		this.creater = creater;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	
	

	public Long getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Long customerId) {
		this.customerId = customerId;
	}

	public Order(Long id, String orderSN, Date createTime, Long creater, BigDecimal amount,Long customerId) {
		super();
		this.id = id;
		this.orderSN = orderSN;
		this.createTime = createTime;
		this.creater = creater;
		this.amount = amount;
		this.customerId = customerId;
	}

	public Order() {
		super();
	}
	
	
}
